/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconArrowLeft: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M146.496 509.504a32 32 0 0 1 28.288-31.808l3.712-0.192h672a32 32 0 0 1 3.744 63.776l-3.744 0.224h-672a32 32 0 0 1-32-32z m4.352 22.624a32 32 0 0 1-2.464-42.464l2.464-2.816 277.024-276.992a32 32 0 0 1 47.744 42.464l-2.464 2.784-254.4 254.4 254.4 254.4a32 32 0 0 1 2.464 42.432l-2.464 2.816a32 32 0 0 1-42.464 2.464l-2.816-2.464-277.024-277.024z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconArrowLeft.defaultProps = {
  size: 18,
};

export default IconArrowLeft;
